package movies.domain;

/**
 *
 * @author Hanna_Aliakseichykava
 */
public class Article {

    private int id;
    private String name;
    private int articleCategoryId;
    private int userId;
    private String text;
    private int quantityVotes;
    private String nameMainPicture;

    private String nameEvent;
    private int categoryEventId;
    private int countryEventId;
    private int dayEvent;
    private int monthEvent;
    private int yearEvent;

    public Article() {
        //default
        categoryEventId = 1;
        countryEventId = 1;
    }

    public Article(String name, int articleCategoryId, int userId, String text,
            String nameMainPicture) {
        this.name = name;
        this.articleCategoryId = articleCategoryId;
        this.userId = userId;
        this.text = text;
        this.nameMainPicture = nameMainPicture;

        //default
        categoryEventId = 1;
        countryEventId = 1;
    }

    public int getCategoryEventId() {
        return categoryEventId;
    }

    public void setCategoryEventId(int categoryEventId) {
        this.categoryEventId = categoryEventId;
    }

    public int getDayEvent() {
        return dayEvent;
    }

    public void setDayEvent(int dayEvent) {
        this.dayEvent = dayEvent;
    }

    public int getMonthEvent() {
        return monthEvent;
    }

    public void setMonthEvent(int monthEvent) {
        this.monthEvent = monthEvent;
    }

    public String getNameEvent() {
        return nameEvent;
    }

    public void setNameEvent(String nameEvent) {
        this.nameEvent = nameEvent;
    }

    public int getYearEvent() {
        return yearEvent;
    }

    public void setYearEvent(int yearEvent) {
        this.yearEvent = yearEvent;
    }

    public int getArticleCategoryId() {
        return articleCategoryId;
    }

    public void setArticleCategoryId(int articleCategoryId) {
        this.articleCategoryId = articleCategoryId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNameMainPicture() {
        return nameMainPicture;
    }

    public void setNameMainPicture(String nameMainPicture) {
        this.nameMainPicture = nameMainPicture;
    }

    public int getQuantityVotes() {
        return quantityVotes;
    }

    public void setQuantityVotes(int quantityVotes) {
        this.quantityVotes = quantityVotes;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCountryEventId() {
        return countryEventId;
    }

    public void setCountryEventId(int countryEventId) {
        this.countryEventId = countryEventId;
    }
 

}
